import $http from "../assets/js/http";

//房间初始化密码确认
export async function room_initialization(password_router) {
  return $http.post("Dorm/Dorm/room_initialization", {
    password_router
  });
}

// 房间初始化
export async function room_form({
  AR_number,
  SSL_number,
  SS_floor1,
  SS_floor2,
  SS_roomtype,
  SS_dormsex,
  SS_number_Prefix,
  SS_bednumber,
  SS_cabinet,
  SS_cost,
  SS_costman,
  SS_status,
  SS_temporary,
  SS_room_number
}) {
  return $http.post("Dorm/Dorm/room_form", {
    AR_number,
    SSL_number,
    SS_floor1,
    SS_floor2,
    SS_roomtype,
    SS_dormsex,
    SS_number_Prefix,
    SS_bednumber,
    SS_cabinet,
    SS_cost,
    SS_costman,
    SS_status,
    SS_temporary,
    SS_room_number
  });
}
